﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StarryEdge.Core.Models
{
    public class SystemConfigParameterModel
    {
        public bool IsUSB { get; set; }
        public bool IsCip { get; set; }
        /// <summary>
        /// Fins协议需要用到,网卡IP地址最后一位
        /// </summary>
        public byte FinsIP { get; set; }

        /// <summary>
        /// 通信超时重连次数
        /// </summary>
        public int CommunicationReconnectionTimes { get; set; }

        /// <summary>
        /// 称重超时
        /// </summary>
        public int WeighingTimeout { get; set; }

        /// <summary>
        /// 条码验证规则
        /// </summary>
        public string BarcodeRules { get; set; }

        /// <summary>
        /// 套杯码验证规则
        /// </summary>
        public string CupCodeRules { get; set; }

        /// <summary>
        /// USB刷卡器返回数据长度
        /// </summary>
        public int UsbLength { get; set; } = 10;
    }
}
